<?php
	class ThumbnailSDBManagerTest extends PHPUnit_Framework_TestCase
	{
		protected $_thumb_mgr;
		protected $_config;

		protected function setUp() 
		{ 
			$this->_thumb_mgr = new ThumbnailSDBManager();
			$this->_config = Zend_Registry::get('config');
		}
		
		protected function tearDown() 
		{ 
			unset($this->_thumb_mgr);
			unset($this->_config);
		}

		public function testDomain()
		{
			$this->assertEquals($this->_thumb_mgr->getDomain(), $this->_config->domain->name->thumbs);
		}
		
		public function testObjectType()
		{
			$this->assertEquals($this->_thumb_mgr->getObjectType(), 'Thumbnail');
		}
	}
